package com.myway.service.impl;

import com.myway.dao.TabQuestionTypeMapper;
import com.myway.pojo.TabQuestionType;
import com.myway.service.TabQuestionTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Zap on 2018-08-13.
 */
@Service
public class TabQuestionTypeServiceImpl implements TabQuestionTypeService {

    @Autowired
    private TabQuestionTypeMapper tabQuestionTypeMapper;

    @Override
    public List<TabQuestionType> selectAll() {
        return tabQuestionTypeMapper.selectByExample(null);
    }
}
